﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UnityEngine;

public class GameConfig
{
    public static bool useAssetBundle = true;

    private static string version = "0.1";
    public static string Version { get { return version; } }


    private static string assetIP = "http://182.61.6.116:8080/HotUpdate/ShiYueTest";
    public static string AssetIP { get { return assetIP; } }

    public static string assetBundlePath
    {
        get { return persistentDataPath; }
    }
    public static string streamingAssetsPath
    {
        get { return Application.streamingAssetsPath; }
    }
    public static string wwwStreamingAssetsPath
    {
        get { return streamingAssetsPath; }
    }
    public static string persistentDataPath
    {
        get
        {
#if UNITY_EDITOR
            return Application.dataPath.Replace("Assets", "PersistentData");
#else
            return Application.persistentDataPath;
#endif
        }
    }
}